package com.szjlxh.data.entity;


import com.szjlxh.data.utils.DataUtils;

import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * Created by liutao on 16/3/9.
 */
public class WeatherSevenDayBean {
    private List<DataEntity> data;

//    public String getWeekDay() {
//            if (Date==null) return "星期X";
//            Pattern pattern = Pattern.compile("(-?[1-9]\\d*)");
//            Matcher matcher = pattern.matcher(getDate());
//            if (matcher.find()) {
//                return DataUtils.getWeekOfDate(Long.valueOf(matcher.group(1)));
//            } else {
//                return "星期X";
//            }
//        }

    public List<DataEntity> getData() {
        return data;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public static class DataEntity {
        private String monthday;
        private String WindB;
        private String Wind;
        private Object WindA;
        private Object WeatherNICON;
        private String TempMin;
        private String weekday;
        private Object AreaID;
        private String TempMax;
        private String Weather;
        private String Month;
        private String Year;
        private String Day;
        private String WeatherICON;

        public String getMonthday() {
            return monthday;
        }

        public void setMonthday(String monthday) {
            this.monthday = monthday;
        }

        public String getWindB() {
            return WindB;
        }

        public void setWindB(String WindB) {
            this.WindB = WindB;
        }

        public String getWind() {
            return Wind;
        }

        public void setWind(String Wind) {
            this.Wind = Wind;
        }

        public Object getWindA() {
            return WindA;
        }

        public void setWindA(Object WindA) {
            this.WindA = WindA;
        }

        public Object getWeatherNICON() {
            return WeatherNICON;
        }

        public void setWeatherNICON(Object WeatherNICON) {
            this.WeatherNICON = WeatherNICON;
        }

        public String getTempMin() {
            return TempMin;
        }

        public void setTempMin(String TempMin) {
            this.TempMin = TempMin;
        }

        public String getWeekday() {
            return weekday;
        }

        public void setWeekday(String weekday) {
            this.weekday = weekday;
        }

        public Object getAreaID() {
            return AreaID;
        }

        public void setAreaID(Object AreaID) {
            this.AreaID = AreaID;
        }

        public String getTempMax() {
            return TempMax;
        }

        public void setTempMax(String TempMax) {
            this.TempMax = TempMax;
        }

        public String getWeather() {
            return Weather;
        }

        public void setWeather(String Weather) {
            this.Weather = Weather;
        }

        public String getMonth() {
            return Month;
        }

        public void setMonth(String Month) {
            this.Month = Month;
        }

        public String getYear() {
            return Year;
        }

        public void setYear(String Year) {
            this.Year = Year;
        }

        public String getDay() {
            return Day;
        }

        public void setDay(String Day) {
            this.Day = Day;
        }

        public String getWeatherICON() {
            return WeatherICON;
        }

        public void setWeatherICON(String WeatherICON) {
            this.WeatherICON = WeatherICON;
        }
    }
}

